import java.util.*;

/**
 * 用户服务
 *
 * @author yuwei
 * @date 15:32 2024/4/24
 */
public class Department {
    private String department_name;

    public String getDepartment_name() {
        return department_name;
    }

    public void setDepartment_name(String department_name) {
        this.department_name = department_name;
    }



    public Department(String department_name) {
        this.department_name = department_name;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof Department)) return false;
        Department that = (Department) o;
        return Objects.equals(department_name, that.department_name);
    }

    @Override
    public int hashCode() {
        return Objects.hash(department_name);
    }

    @Override
    public String toString() {
        return   department_name + "\n" ;
    }
}
